package zuoye1;

public class yaunzhu {
    private double r;
    private double h;

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }

    public double getH() {
        return h;
    }

    public void setH(double h) {
        this.h = h;
    }
    public double findVolume() {
        double s = 3.14*r*r*h;
        return s;
    }
}
